package com.example.design_pattern.decorator;

public class FooterDecorator extends OrderDecorator {

    public FooterDecorator(Order order) {
        super(order);
    }


    @Override
    public void print() {
        order.print();
        System.out.println("........发票的尾部......");
    }
}
